<div style="margin-bottom:2px" id="bottomDiv">
            <footer>
	<hr />		
		  <p>Copy Right &copy; <?php $now= new DateTime('Now'); echo $now->format('d-m-Y'); ?> - Online Medical Store | Your current location is : <label id="lblLocation" class="meekad">Retrieving your current location ......</label> </p>		 
				 <script type="text/javascript">
        if (navigator.geolocation) {
            navigator.geolocation.getCurrentPosition(success);
        } else {
            alert("Geo Location is not supported on your current browser!");
        }
        function success(position) {
            var lat = position.coords.latitude;
            var long = position.coords.longitude;
            var pos = lat + "," + long;
          // alert(lat);
		   //alert(pos);
		   var l = $("#lblLocation");
				l.load("Common/getUserLocation.php?action=getUserCurrLocation&vars="+pos);				
        }
          </script>
            </footer>
			</div>
        </div>
		<script type="text/javascript"> 
	//var width = window.screen.width;
	var ht = window.screen.height;
	var h1 = 0;
	if($(".row").length>0)
		h1 =$(".row")[0].clientHeight-50;
		
	var ht1 =0;
	if($(".jumbotron").length>0)
	ht1= $(".jumbotron")[0].clientHeight + h1;
	
	var mt = ht-ht1	-225;
	document.getElementById("bottomDiv").style.marginTop =mt;
	</script>
    </form>